package cn.net.autocode.platform.workflow.vo;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import lombok.Data;
import java.util.List;

@Data
public class Workflow {
    private String wfCode;

    private String stepCode;

    private String actionCode;

    private String password;

    private String comment;

    private String busiTable;

    private String statusColumn;

    private String statusField;

    private String rejectColumn;

    private String preAuth;

    private Action action;

    private JSONArray auditUsers;

    private List<Business> businessList;

    @Data
    public class Action{
        String actionId;
        String actionCode;
        String actionName;
        String isReject;
        String requireComment;
    }

    @Data
    public class Business{
        String busiId;

        String status;

        String toStepcode;

        JSONObject data;
    }
}
